package com.wedata.抖音;

import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
import com.disdr.utils.DateUtils;
import com.wedata.HttpUtils;

import java.util.*;

public class 抖音创作者中心 {

    public static void main(String[] args) {
        查询个人信息();
    }


    private static void 查询个人信息(){
        String url = "https://creator.douyin.com/aweme/v1/creator/im/user_token/v2/";
        String params = "?aid=2906";
        JSONObject result = HttpUtils.doGet(url, getHeaders());
        System.out.println(result.getStr("user_id"));
        //{"status_code":0,"token":"88Tgfrdu8WDm7emCPIUsMioZRcsgW4z6l4UFWi2MV44VVEbFmqiA1G","user_id":"59896259173","extra":{"now":1749797771000},"status_msg":""}
    }
    private static void 视频粉丝增量趋势() {
        //trend_type=1是增量，trend_type=2是累计
        //time_unit=1是每天，time_unit=2是每小时
        //String url = "https://creator.douyin.com/janus/douyin/creator/data/item_analysis/metrics_trend?trend_type=1&time_unit=1&metrics_group=0&metrics=subscribe_count";
        //String url = "https://creator.douyin.com/janus/douyin/creator/data/item_analysis/metrics_trend?aid=2906&app_name=aweme_creator_platform&device_platform=web&referer=https:%2F%2Fcreator.douyin.com%2Fcreator-micro%2Fdata-center%2Fcontent&user_agent=Mozilla%2F5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F132.0.6834.83+Safari%2F537.36&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F132.0.6834.83+Safari%2F537.36&browser_online=true&timezone_name=Asia%2FShanghai";
        String url = "https://creator.douyin.com/janus/douyin/creator/data/item_analysis/metrics_trend?aid=2906";
        String params = "&item_id=7497177510217174331&trend_type=1&time_unit=1&metrics_group=0&metrics=subscribe_count";
        JSONObject result = HttpUtils.doGet(url+params, getHeaders());
        System.out.println(result);
    }

    public static void 视频播放日趋势(){
        //String url1 = "https://creator.douyin.com/janus/douyin/creator/data/item_analysis/metrics_trend?aid=2906&app_name=aweme_creator_platform&device_platform=web&referer=https:%2F%2Fcreator.douyin.com%2Fcreator-micro%2Fdata-center%2Fcontent&user_agent=Mozilla%2F5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F132.0.6834.83+Safari%2F537.36&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F132.0.6834.83+Safari%2F537.36&browser_online=true&timezone_name=Asia%2FShanghai&item_id=7497177510217174331&trend_type=2&time_unit=1&metrics_group=0&metrics=view_count";
        //String url2 = "https://creator.douyin.com/janus/douyin/creator/data/item_analysis/metrics_trend?aid=2906&app_name=aweme_creator_platform&device_platform=web&referer=https:%2F%2Fcreator.douyin.com%2Fcreator-micro%2Fdata-center%2Fcontent&user_agent=Mozilla%2F5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F132.0.6834.83+Safari%2F537.36&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F132.0.6834.83+Safari%2F537.36&browser_online=true&timezone_name=Asia%2FShanghai&item_id=7497177510217174331&trend_type=2&time_unit=1&metrics_group=0&metrics=subscribe_count";
        String url = "https://creator.douyin.com/janus/douyin/creator/data/item_analysis/metrics_trend?item_id=7497177510217174331&trend_type=2&time_unit=1&metrics_group=0&metrics=view_count,subscribe_count";
        JSONObject result = HttpUtils.doGet(url, getHeaders());
        System.out.println(result);
        JSONObject trend_map = result.getJSONObject("trend_map");
        trend_map.getJSONObject("subscribe_count");
        trend_map.getJSONObject("view_count");

    }

    public static void 作品列表(){
        String url = "https://creator.douyin.com/web/api/creator/item/list?count=100&order_by=1&fields=metrics%2Creview%2Cvisibility&need_cooperation=true&start_time=1737475200000&end_time=1745337599000";
        String msToken = "&msToken=8Y61FXAu9PFEbMrNs3SvXcNYgj2V-RwNzK5SrhVeVYb-YWPY5gSmHnwZKFwlUpgS6j_rtrac8zEBm_wh0C5OUulQOU3SeC1Qctc9rqpE9GaGBxxNwwOgKMash9RdLpNnGda8jq2s70sTwaVT93_wIpf3gDU6Lo-8AsgLS9A1zpgH&a_bogus=EJ0RDqy7EdmVcpFSYcs7CI9UBljArsWyZ-ixSjknyPwuGwta9ZHlZccjroKzxsGeTSBViHCH3k0AKddbQzs0Z1xkwmkvSBUjBz%2FCVu0L8Z74YPJ2vHRLeRbxuiTYUCGYYQAUEM6R1sMCIx5WnrCiAQ%2F7L%2FUnmbfdPH3tV2TjY9KR0W8jkx29a37sY77qeD%3D%3D";
        //JSONObject result = HttpUtils.doGet(url, getHeaders());
        JSONObject result = new JSONObject("{\"status_code\":0,\"total\":10,\"max_cursor\":1744966883000,\"status_msg\":\"\",\"has_more\":true,\"BaseResp\":{\"StatusCode\":0,\"StatusMessage\":\"\",\"Extra\":{}},\"items\":[{\"downloadable\":true,\"create_time\":1745114400,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"女生夏天前发光必入手，机制终于谈到我飞去新西兰总部拿到的水平了！#虾青素 #皮肤管理 #逆袭 #变美\",\"type\":4,\"cover\":{\"url_list\":[\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/owAE9oAOAABEAe6UEAQAkkgfHycwHFIDAAeEUn~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=zz2F5rZ0jjd5yuyeklyelVVzvgU%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/owAE9oAOAABEAe6UEAQAkkgfHycwHFIDAAeEUn~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=im0W1br7FRocWMxZ8naCQcSi988%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/owAE9oAOAABEAe6UEAQAkkgfHycwHFIDAAeEUn~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=3Eutye54XEDX975lg8h5rbRUcRE%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/owAE9oAOAABEAe6UEAQAkkgfHycwHFIDAAeEUn~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=KOIGRN9kcknE83%2FJ%2BsKG9I%2FRTrw%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/owAE9oAOAABEAe6UEAQAkkgfHycwHFIDAAeEUn\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7494685265580002618,\"metrics\":{\"comment_count\":\"25\",\"avg_view_second\":\"10.055422\",\"homepage_visit_count\":\"583\",\"bounce_rate_2s\":\"0.508391\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.246312\",\"dislike_rate\":\"0.000176\",\"favorite_rate\":\"0.000176\",\"unsubscribe_rate\":\"0.000801\",\"unsubscribe_count\":\"41\",\"favorite_count\":\"9\",\"cover_click_rate\":\"0.838945\",\"subscribe_rate\":\"0.000098\",\"like_count\":\"145\",\"avg_view_proportion\":\"0.052960\",\"comment_rate\":\"0.000488\",\"fan_view_proportion\":\"0.840747\",\"share_rate\":\"0.000176\",\"cover_show\":\"1782\",\"download_count\":\"1\",\"share_count\":\"9\",\"completion_rate\":\"0.014509\",\"like_rate\":\"0.002833\",\"subscribe_count\":\"5\",\"dislike_count\":\"9\",\"view_count\":\"51189\"},\"video_info\":{\"is_vr\":false,\"duration\":189870}},{\"downloadable\":false,\"create_time\":1745110800,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"拿到了olly女维亲闺女机制，氛围感美女养成囤货必备变！#维生素 #女维 #变美 #养发 #种草\",\"type\":3,\"cover\":{\"url_list\":[\"https://p9-sign.douyinpic.com/tos-cn-i-0813c000-ce/oUhAyAEonAwiaiKBGMxAW7qtIvAPDA4qLdAPi~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=tie4BdxHk5zeHik4eGzaZitLk%2Bc%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oUhAyAEonAwiaiKBGMxAW7qtIvAPDA4qLdAPi~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=N%2BYVvfMMB2S%2BnEkaeVOFhKnXY80%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/oUhAyAEonAwiaiKBGMxAW7qtIvAPDA4qLdAPi~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=TEbvI%2BYYwxxKJRGBa%2FHgPrRUFKs%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p9-sign.douyinpic.com/tos-cn-i-0813c000-ce/oUhAyAEonAwiaiKBGMxAW7qtIvAPDA4qLdAPi~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=XX2mQycRf7w53lyf4eQSgyvtRqQ%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/oUhAyAEonAwiaiKBGMxAW7qtIvAPDA4qLdAPi\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7495052216126934331,\"metrics\":{\"comment_count\":\"6\",\"avg_view_second\":\"9.033237\",\"homepage_visit_count\":\"352\",\"bounce_rate_2s\":\"0.565872\",\"danmaku_count\":\"1\",\"completion_rate_5s\":\"0.259717\",\"dislike_rate\":\"0.000208\",\"favorite_rate\":\"0.000089\",\"unsubscribe_rate\":\"0.000624\",\"unsubscribe_count\":\"21\",\"favorite_count\":\"3\",\"subscribe_rate\":\"0.000089\",\"like_count\":\"102\",\"avg_view_proportion\":\"0.055213\",\"comment_rate\":\"0.000178\",\"fan_view_proportion\":\"0.849392\",\"share_rate\":\"0.000149\",\"cover_show\":\"1388\",\"download_count\":\"0\",\"share_count\":\"5\",\"completion_rate\":\"0.021692\",\"like_rate\":\"0.003031\",\"subscribe_count\":\"3\",\"dislike_count\":\"7\",\"view_count\":\"33657\"},\"video_info\":{\"is_vr\":false,\"duration\":163608}},{\"downloadable\":true,\"create_time\":1745060443,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"plus版本爆款益生菌再破价，5周年砍价超燃b420！#lifespaceb420 #益生菌\",\"type\":3,\"cover\":{\"url_list\":[\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/o41bi0BAwl5eAEDu0AIAhvipAEEDeYfEEKAPBA~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=emGoUOIIjs3LYYfP2VMaQGXHhqI%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/o41bi0BAwl5eAEDu0AIAhvipAEEDeYfEEKAPBA~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=KuNbI5So%2FV3oHBUe%2BJiKYoMzmIo%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/o41bi0BAwl5eAEDu0AIAhvipAEEDeYfEEKAPBA~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=RSeEEDcU3fDLg09rwrAhMtoRwKs%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/o41bi0BAwl5eAEDu0AIAhvipAEEDeYfEEKAPBA~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=vFo71jaeAgcqmPP6055eIn%2FSkrw%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/o41bi0BAwl5eAEDu0AIAhvipAEEDeYfEEKAPBA\"},\"user_id\":59896259173,\"review\":{\"details\":[{\"text\":\"部分可见\"}],\"status\":6},\"id\":7494855164122123577,\"metrics\":{\"comment_count\":\"2\",\"avg_view_second\":\"5.828561\",\"homepage_visit_count\":\"313\",\"bounce_rate_2s\":\"0.661523\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.136790\",\"dislike_rate\":\"0.000236\",\"favorite_rate\":\"0.000039\",\"unsubscribe_rate\":\"0.000825\",\"unsubscribe_count\":\"21\",\"favorite_count\":\"1\",\"subscribe_rate\":\"0.000079\",\"like_count\":\"62\",\"avg_view_proportion\":\"0.041497\",\"comment_rate\":\"0.000079\",\"fan_view_proportion\":\"0.883530\",\"share_rate\":\"0.000197\",\"cover_show\":\"1669\",\"download_count\":\"0\",\"share_count\":\"5\",\"completion_rate\":\"0.011541\",\"like_rate\":\"0.002437\",\"subscribe_count\":\"2\",\"dislike_count\":\"6\",\"view_count\":\"25440\"},\"video_info\":{\"is_vr\":false,\"duration\":140458}},{\"downloadable\":false,\"create_time\":1745053305,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"澳洲溯源卖光库存的爆款益生菌，买正装送正装破价机制就在我5周年大场#lifespaceb420 #变美\",\"type\":4,\"cover\":{\"url_list\":[\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMEjxIPZiMUAA4RAvJAQiAXUnDBMAIFEhaBA2~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=Yqq4Eh6nrZrsSGvhXRxgH89jXKw%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMEjxIPZiMUAA4RAvJAQiAXUnDBMAIFEhaBA2~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=%2BoNt4FOx8zeXmevg1T3VbYiFIv0%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMEjxIPZiMUAA4RAvJAQiAXUnDBMAIFEhaBA2~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=6sOQ81kL3suNeybwhTR%2FzM%2B4Y7M%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMEjxIPZiMUAA4RAvJAQiAXUnDBMAIFEhaBA2~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=7pnAUuHb7PhHsuEXxG3TOfDTV6k%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/oMEjxIPZiMUAA4RAvJAQiAXUnDBMAIFEhaBA2\"},\"user_id\":59896259173,\"review\":{\"details\":[{\"text\":\"部分可见\"}],\"status\":6},\"id\":7494852099814001980,\"metrics\":{\"comment_count\":\"0\",\"avg_view_second\":\"7.561805\",\"homepage_visit_count\":\"259\",\"bounce_rate_2s\":\"0.648992\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.172730\",\"dislike_rate\":\"0.000393\",\"favorite_rate\":\"0.000280\",\"unsubscribe_rate\":\"0.000673\",\"unsubscribe_count\":\"12\",\"favorite_count\":\"5\",\"cover_click_rate\":\"0.370310\",\"subscribe_rate\":\"0.000000\",\"like_count\":\"57\",\"avg_view_proportion\":\"0.034696\",\"comment_rate\":\"0.000000\",\"fan_view_proportion\":\"0.872245\",\"share_rate\":\"0.000336\",\"cover_show\":\"1226\",\"download_count\":\"0\",\"share_count\":\"6\",\"completion_rate\":\"0.010562\",\"like_rate\":\"0.003197\",\"subscribe_count\":\"0\",\"dislike_count\":\"7\",\"view_count\":\"17831\"},\"video_info\":{\"is_vr\":false,\"duration\":217943}},{\"downloadable\":false,\"create_time\":1745046000,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"日服成本不到2块，5周年鱼油机制砍到底满满性价比#鱼油 #逆袭 #营养\",\"type\":3,\"cover\":{\"url_list\":[\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/o8RMsAAmoAE0faCGE7FEwlDiAAA9OSAQIzfdex~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=617YyXWccBGcFhvLXeuhutPS15s%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/o8RMsAAmoAE0faCGE7FEwlDiAAA9OSAQIzfdex~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=iyzwqPtOQbL13pubBk%2F%2B2Z%2FyLe8%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/o8RMsAAmoAE0faCGE7FEwlDiAAA9OSAQIzfdex~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=AxFjPoB7AOQwkI4yt6LEHlYxwJI%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/o8RMsAAmoAE0faCGE7FEwlDiAAA9OSAQIzfdex~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=YyLhcfFp8ZlBzZN91wTBNXf%2BI4g%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/o8RMsAAmoAE0faCGE7FEwlDiAAA9OSAQIzfdex\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7494862364227996987,\"metrics\":{\"comment_count\":\"4\",\"avg_view_second\":\"7.878625\",\"homepage_visit_count\":\"304\",\"bounce_rate_2s\":\"0.564886\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.236183\",\"dislike_rate\":\"0.000400\",\"favorite_rate\":\"0.000240\",\"unsubscribe_rate\":\"0.000759\",\"unsubscribe_count\":\"19\",\"favorite_count\":\"6\",\"subscribe_rate\":\"0.000080\",\"like_count\":\"84\",\"avg_view_proportion\":\"0.045775\",\"comment_rate\":\"0.000160\",\"fan_view_proportion\":\"0.851744\",\"share_rate\":\"0.000320\",\"cover_show\":\"1170\",\"download_count\":\"0\",\"share_count\":\"8\",\"completion_rate\":\"0.013576\",\"like_rate\":\"0.003356\",\"subscribe_count\":\"2\",\"dislike_count\":\"10\",\"view_count\":\"25031\"},\"video_info\":{\"is_vr\":false,\"duration\":172118}},{\"downloadable\":true,\"create_time\":1745042400,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"破价机制到手600粒鱼油，日常保养性价比超高！#鱼油 #砍价 #营养补剂\",\"type\":3,\"cover\":{\"url_list\":[\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/owf9EAV1MkmJAAeD8OEZIQwFwAFWEoAxACDeAE~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=8J4u6tl9hBPU0tmfG8hEvH%2BWVQk%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/owf9EAV1MkmJAAeD8OEZIQwFwAFWEoAxACDeAE~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=6rnh2bytLtVHdzWsoEwBNUPtD58%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/owf9EAV1MkmJAAeD8OEZIQwFwAFWEoAxACDeAE~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=ryGRmPRkfYmMqBSmMINsh3My7VY%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/owf9EAV1MkmJAAeD8OEZIQwFwAFWEoAxACDeAE~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=zDpnT%2FtDzuQzWHiPJn4luWWguqg%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/owf9EAV1MkmJAAeD8OEZIQwFwAFWEoAxACDeAE\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7494857900750343483,\"metrics\":{\"comment_count\":\"0\",\"avg_view_second\":\"5.869454\",\"homepage_visit_count\":\"272\",\"bounce_rate_2s\":\"0.628358\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.175988\",\"dislike_rate\":\"0.000182\",\"favorite_rate\":\"0.000182\",\"unsubscribe_rate\":\"0.001368\",\"unsubscribe_count\":\"30\",\"favorite_count\":\"4\",\"subscribe_rate\":\"0.000091\",\"like_count\":\"64\",\"avg_view_proportion\":\"0.047699\",\"comment_rate\":\"0.000000\",\"fan_view_proportion\":\"0.874430\",\"share_rate\":\"0.000182\",\"cover_show\":\"1007\",\"download_count\":\"0\",\"share_count\":\"4\",\"completion_rate\":\"0.013904\",\"like_rate\":\"0.002919\",\"subscribe_count\":\"2\",\"dislike_count\":\"4\",\"view_count\":\"21924\"},\"video_info\":{\"is_vr\":false,\"duration\":123051}},{\"downloadable\":true,\"create_time\":1745035200,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"送3条试喝！！苹果醋升级版5周年初亮相，醋哥拍板给到的顶顶好首发机制！#苹果醋 #锡兰肉桂 #逆袭 #管理期\",\"type\":4,\"cover\":{\"url_list\":[\"https://p9-sign.douyinpic.com/tos-cn-i-0813c000-ce/owApdnztDIAGrCfRArFAeH9s1EfJoAEEEwwBAA~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=ItNBvi1SCC7aV3aURKJJh%2BQwhkM%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/owApdnztDIAGrCfRArFAeH9s1EfJoAEEEwwBAA~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=IbZi8L32Q4LQCWloXgGF4m5Gt9s%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/owApdnztDIAGrCfRArFAeH9s1EfJoAEEEwwBAA~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=2kwQhwD6kTcI5I56xKMrhbU0O0g%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p9-sign.douyinpic.com/tos-cn-i-0813c000-ce/owApdnztDIAGrCfRArFAeH9s1EfJoAEEEwwBAA~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=a%2FKLXWCwyf5gOmojxlpAwgmVA1c%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/owApdnztDIAGrCfRArFAeH9s1EfJoAEEEwwBAA\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7494682673932143932,\"metrics\":{\"comment_count\":\"27\",\"avg_view_second\":\"7.779396\",\"homepage_visit_count\":\"732\",\"bounce_rate_2s\":\"0.623302\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.186963\",\"dislike_rate\":\"0.000116\",\"favorite_rate\":\"0.000248\",\"unsubscribe_rate\":\"0.000182\",\"unsubscribe_count\":\"22\",\"favorite_count\":\"30\",\"cover_click_rate\":\"1\",\"subscribe_rate\":\"0.000223\",\"like_count\":\"219\",\"avg_view_proportion\":\"0.034376\",\"comment_rate\":\"0.000223\",\"fan_view_proportion\":\"0.783986\",\"share_rate\":\"0.000124\",\"cover_show\":\"1099\",\"download_count\":\"2\",\"share_count\":\"15\",\"completion_rate\":\"0.007536\",\"like_rate\":\"0.001811\",\"subscribe_count\":\"27\",\"dislike_count\":\"14\",\"view_count\":\"120946\"},\"video_info\":{\"is_vr\":false,\"duration\":226303}},{\"downloadable\":true,\"create_time\":1745028000,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"5周年砍价苹果醋，新品首发诚意必须给到！#好物推荐 #苹果醋 #内容过于真实\",\"type\":3,\"cover\":{\"url_list\":[\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/ogkEALoICLUDNEkcwIesnfEgFAA9AAAegg2BAE~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=PJvmgmF8%2FDS9uDP3AwaqT41S0pU%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p9-sign.douyinpic.com/tos-cn-i-0813c000-ce/ogkEALoICLUDNEkcwIesnfEgFAA9AAAegg2BAE~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=B8aFl1k%2FNDXllkhV0260yLF4mPI%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/ogkEALoICLUDNEkcwIesnfEgFAA9AAAegg2BAE~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=63wxg8oMlfGILD22MCtSIhlRi9s%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/ogkEALoICLUDNEkcwIesnfEgFAA9AAAegg2BAE~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=XTA4Bbv1JSG7RKZ9%2BW%2FNb%2BB92Gw%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/ogkEALoICLUDNEkcwIesnfEgFAA9AAAegg2BAE\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7494679164432207161,\"metrics\":{\"comment_count\":\"19\",\"avg_view_second\":\"7.889638\",\"homepage_visit_count\":\"512\",\"bounce_rate_2s\":\"0.588998\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.204207\",\"dislike_rate\":\"0.000148\",\"favorite_rate\":\"0.000197\",\"unsubscribe_rate\":\"0.000690\",\"unsubscribe_count\":\"28\",\"favorite_count\":\"8\",\"subscribe_rate\":\"0.000049\",\"like_count\":\"109\",\"avg_view_proportion\":\"0.076509\",\"comment_rate\":\"0.000468\",\"fan_view_proportion\":\"0.849631\",\"share_rate\":\"0.000197\",\"cover_show\":\"912\",\"download_count\":\"1\",\"share_count\":\"8\",\"completion_rate\":\"0.030141\",\"like_rate\":\"0.002685\",\"subscribe_count\":\"2\",\"dislike_count\":\"6\",\"view_count\":\"40600\"},\"video_info\":{\"is_vr\":false,\"duration\":103121}},{\"downloadable\":false,\"create_time\":1744974000,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"办一场能让粉丝狂欢的五周年直播我准备了什么！#五周年 #福利 #宠粉\",\"type\":3,\"cover\":{\"url_list\":[\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oQAEt91CEfpB8tAErBgDfJQ7QoAFAAfgAGgQIP~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=668K2O7xuV6QuAmyVcE6BpO%2BpAA%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/oQAEt91CEfpB8tAErBgDfJQ7QoAFAAfgAGgQIP~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=QXLTKLhhGQ%2FHXoBeU4zSVjEAzwk%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/oQAEt91CEfpB8tAErBgDfJQ7QoAFAAfgAGgQIP~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=qFKEMnZuhBqdZiocTsrqsunB2%2FY%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oQAEt91CEfpB8tAErBgDfJQ7QoAFAAfgAGgQIP~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=%2FlatPJn%2F0yJRrK5K1FYrNRQ%2B87E%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/oQAEt91CEfpB8tAErBgDfJQ7QoAFAAfgAGgQIP\"},\"user_id\":59896259173,\"review\":{\"status\":2},\"id\":7494539761277783356,\"metrics\":{\"comment_count\":\"47\",\"avg_view_second\":\"6.116682\",\"homepage_visit_count\":\"814\",\"bounce_rate_2s\":\"0.577006\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.192953\",\"dislike_rate\":\"0.000089\",\"favorite_rate\":\"0.000060\",\"unsubscribe_rate\":\"0.000228\",\"unsubscribe_count\":\"23\",\"favorite_count\":\"6\",\"subscribe_rate\":\"0.000188\",\"like_count\":\"222\",\"avg_view_proportion\":\"0.072488\",\"comment_rate\":\"0.000466\",\"fan_view_proportion\":\"0.821075\",\"share_rate\":\"0.000129\",\"cover_show\":\"962\",\"download_count\":\"0\",\"share_count\":\"13\",\"completion_rate\":\"0.011794\",\"like_rate\":\"0.002202\",\"subscribe_count\":\"19\",\"dislike_count\":\"9\",\"view_count\":\"100802\"},\"video_info\":{\"is_vr\":false,\"duration\":84382}},{\"downloadable\":false,\"create_time\":1744966883,\"visibility\":{\"close_friend\":0,\"part_see\":0,\"status\":2},\"collaborative\":false,\"description\":\"连续吃一个月的超燃b420会有什么变化 #好物推荐 #lifespaceb420 #益生菌 #测评\",\"type\":2,\"cover\":{\"url_list\":[\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMvlrEAjW2AAAsDBAMhIzinVdqAzKaPPEOAAi~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=xseRx75Gq%2FaiB9W%2B1cur9uNotB0%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMvlrEAjW2AAAsDBAMhIzinVdqAzKaPPEOAAi~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=QJizJhHc9lYVFrqalDNfsjIHwKs%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p11-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMvlrEAjW2AAAsDBAMhIzinVdqAzKaPPEOAAi~tplv-dy-resize-walign-adapt-aq:540:q75.webp?lk3s=138a59ce&x-expires=1747040400&x-signature=CldaqpVmtw0EVn0gECgdAmJEIPw%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\",\"https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oMvlrEAjW2AAAsDBAMhIzinVdqAzKaPPEOAAi~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1747040400&x-signature=aI8t1oiLioRjoGX9GcFg0JCv50I%3D&from=327834062&s=PackSourceEnum_CREATOR_CENTER&se=false&sc=cover&biz_tag=aweme_video&l=20250428175005D0DADAFB988CF80B8895\"],\"uri\":\"tos-cn-i-0813c000-ce/oMvlrEAjW2AAAsDBAMhIzinVdqAzKaPPEOAAi\"},\"user_id\":59896259173,\"review\":{\"details\":[{\"text\":\"部分可见\"}],\"status\":6},\"id\":7494216662275722556,\"metrics\":{\"comment_count\":\"47\",\"avg_view_second\":\"6.777117\",\"homepage_visit_count\":\"982\",\"bounce_rate_2s\":\"0.557885\",\"danmaku_count\":\"0\",\"completion_rate_5s\":\"0.216548\",\"dislike_rate\":\"0.000123\",\"favorite_rate\":\"0.000307\",\"unsubscribe_rate\":\"0.000484\",\"unsubscribe_count\":\"71\",\"favorite_count\":\"45\",\"subscribe_rate\":\"0.000095\",\"like_count\":\"337\",\"avg_view_proportion\":\"0.137283\",\"comment_rate\":\"0.000320\",\"fan_view_proportion\":\"0.840262\",\"share_rate\":\"0.000164\",\"cover_show\":\"1196\",\"download_count\":\"0\",\"share_count\":\"24\",\"completion_rate\":\"0.028359\",\"like_rate\":\"0.002296\",\"subscribe_count\":\"14\",\"dislike_count\":\"18\",\"view_count\":\"146772\"},\"video_info\":{\"is_vr\":false,\"duration\":49366}}],\"min_cursor\":1737475200000}");
        System.out.println(result);
        JSONArray items = result.getJSONArray("items");
        for(int i=0;i<items.size();i++){
            JSONObject item = items.getJSONObject(i);
            //JSONObject visibility = item.getJSONObject("visibility");//朋友可见，粉丝可见，状态
            int status = item.getJSONObject("review").getInt("status",0);//视频审核状态
            String id = item.getStr("id");//视频ID
            String description = item.getStr("description");//视频文案
            JSONObject metrics = item.getJSONObject("metrics");//视频指标（统计分析数据）
            metrics.getInt("111",0);
        }
        //2. 获取字段：账号ID、账号名称、视频文案、时长、播放、2s跳出率、5s完播率、完播率、平均观看时长、点赞 、评论 、 涨粉  、脱粉 、粉丝观看占比、视频状态；
    }
    public static void 作品详情(){
        String url = "https://creator.douyin.com/web/api/creator/item/mget?ids=7478255290538822972&fields=metrics%2Creview%2Cplay_info";
        String msToken = "&msToken=xg799JAfdS0MX8j13jQQ9OMFVx4XcqhLzG1_6s9fzCC5im-5pejm2ApFnXY-4-yIdgDQJS862jRpwkJrKx6TPos6vVIA9dxgGLogirdq6xs0zIpT-DC80TBBlRzqyUYpL6DLCUsGfeOIe2NAEidJ0KrV2aspfxTCnjQ9qfDGTgcpuw%3D%3D&a_bogus=O60Vkz7wEZ%2Ffcp%2FGuKcXHjrlEydMNB8ybFTQbaintOxtTZeaQ3HRxranJoL4sBnSn8BIho17zdz%2FbxVcOtkTZIrpKmpfukXRjU5n960o2qwDYehMEqbxCuUFowMN0cGqa5V4iAk6gUt9gfdAiqdL%2Fdlre%2Fue55SBP1xykMzcY9sh1z6ALZcHPdGpxXNa0tOJ";
        JSONObject result = HttpUtils.doGet(url, getHeaders());
        System.out.println(result);
    }


    public static void 查询作品详情() {
        String url = "https://creator.douyin.com/web/api/creator/item/mget?ids=7494685265580002618&fields=metrics,review,play_info";
        JSONObject result = HttpUtils.doGet(url,getHeaders());
        System.out.println(result);
    }

    public static void 总览粉丝数据(){
        String url = "https://creator.douyin.com/janus/douyin/creator/data/overview/dashboard";
        JSONObject body = new JSONObject();
        body.set("recent_days","2");//默认昨日开始，这个日期好像是可以填1/7/30之外的值
        Map<String,String> headers = getHeaders();
        JSONObject result = HttpUtils.sendPost(url, new JSONObject(headers), body);
        //JSONObject result = new JSONObject("{\"status_code\":0,\"status_msg\":\"\",\"metrics\":[{\"metric_value\":5788841,\"english_metric_name\":\"total_fans_cnt\",\"metric_name\":\"总粉丝量\",\"trends\":[{\"date_time\":\"20250426\",\"value\":5788841}]},{\"metric_value\":183069,\"english_metric_name\":\"play_cnt\",\"metric_name\":\"播放量\",\"trends\":[{\"douyin_value\":183069,\"date_time\":\"20250426\",\"value\":183069,\"xigua_value\":0}]},{\"metric_value\":2229,\"english_metric_name\":\"digg_cnt\",\"metric_name\":\"作品点赞\",\"trends\":[{\"douyin_value\":2229,\"date_time\":\"20250426\",\"value\":2229,\"xigua_value\":0}]},{\"metric_value\":1111,\"english_metric_name\":\"share_count\",\"metric_name\":\"作品分享\",\"trends\":[{\"douyin_value\":1111,\"date_time\":\"20250426\",\"value\":1111,\"xigua_value\":0}]},{\"metric_value\":24,\"english_metric_name\":\"comment_cnt\",\"metric_name\":\"作品评论\",\"trends\":[{\"douyin_value\":24,\"date_time\":\"20250426\",\"value\":24,\"xigua_value\":0}]},{\"metric_value\":-1720,\"english_metric_name\":\"net_fans_cnt\",\"metric_name\":\"净增粉丝\",\"trends\":[{\"douyin_value\":-1720,\"date_time\":\"20250426\",\"value\":-1720,\"xigua_value\":0}]},{\"metric_value\":1927,\"english_metric_name\":\"cancel_fans_cnt\",\"metric_name\":\"取关粉丝\",\"trends\":[{\"douyin_value\":1927,\"date_time\":\"20250426\",\"value\":1927,\"xigua_value\":0}]},{\"metric_value\":0.5849405955871008,\"english_metric_name\":\"cover_click_ratio\",\"metric_name\":\"封面点击率\",\"trends\":[{\"date_time\":\"20250426\",\"value\":0.5849405955871008}]},{\"metric_value\":0,\"english_metric_name\":\"cover_ratio\",\"metric_name\":\"封面设置率\",\"trends\":[{\"date_time\":\"20250426\",\"value\":0}]},{\"metric_value\":4109,\"english_metric_name\":\"homepage_view_cnt\",\"metric_name\":\"主页访问\",\"trends\":[{\"date_time\":\"20250426\",\"value\":4109}]}]}");
        JSONArray metrics = result.getJSONArray("metrics");

    }
    public static void 总览直播粉丝数据(){
        String url = "https://creator.douyin.com/dp/douyin/v1/data/live/trendsv2";
        JSONObject body = new JSONObject();
        body.put("day_window", 7);//默认今日开始,,这个日期好像是不可以填1/7/30之外的值
        body.put("metrics_type", 401); //4是粉丝，401是粉丝折线图,
        Map<String,String> headers = getHeaders();
        JSONObject result = HttpUtils.sendPost(url, new JSONObject(headers), body);
        //sendRequest result:{"code":0,"data":[{"date":"2025-04-20","value":22005,"lastValue":47.362637362637365},{"date":"2025-04-21","value":0,"lastValue":-1},{"date":"2025-04-22","value":0,"lastValue":0},{"date":"2025-04-23","value":0,"lastValue":0},{"date":"2025-04-24","value":179,"lastValue":1},{"date":"2025-04-25","value":0,"lastValue":-1},{"date":"2025-04-26","value":0,"lastValue":0}],"extra":{"now":1745735562000},"message":""}

    }

    private static Map<String,String> getHeaders(){
        Map<String,String> headers = new HashMap<String,String>();
        //headers.put("cookie", "UIFID_TEMP=e438e504399eecf9c2f65594851517a53fcd0a47c3feace6f386418d12bbc04d4c3ca20423325f9e1da0c86ff61df0cd6cf8bf16eaba26a5bfbee9494e26c2579743d920401aae99aa4baa3002fffa9e; hevc_supported=true; bd_ticket_guard_client_web_domain=2; UIFID=e438e504399eecf9c2f65594851517a53fcd0a47c3feace6f386418d12bbc04d4718676c6163cd4391d0f39b33b825b0551349f47bf6d0fa1a11eb661860cef38a0ed413c267797823e1441c38f044b7802b4fcd4bcfdedb38356aeff04e03f737c1ef6b19a5e39ee948e82e64810064806701d9f49241eb4e9745402ab77b29da0f8cc1eec758285cad3157d0734f7424f93e5d4309642998379b5c4f6e71a8; passport_csrf_token=165828fe466ef6a808191e1913341636; passport_csrf_token_default=165828fe466ef6a808191e1913341636; __security_mc_1_s_sdk_crypt_sdk=ad7cbc83-4cfa-a284; gfkadpd=2906,33638; biz_trace_id=1e4dc746; passport_mfa_token=CjXY8085apau%2Byhm%2FM2qnb7mzQhHKoz7OEOZSpPoNWL%2F7yLV6PHPGWshDo%2Fk2Db%2B1SaDJQa9IxpKCjwAAAAAAAAAAAAATuj%2F4i2HTM1IjQtHOfY1EHNpgT%2B87hk3wKTYkdKr7xIlGKROFbr6B8EdwimNzmovFXwQv7XvDRj2sdFsIAIiAQNM1nHf; d_ticket=1f80348aa8cf34f8ff6dfda9f6e56f3802ce3; odin_tt=4dfd795ada2eeb86caa402a2aa30af835c66306090aad3aa0f10457a1ace84a1bbd69ed8eed681943fb4583eb2115c5f; passport_assist_user=Cjyi2sNXGfHQag6nB_IqrvPj60bU_VlixrH3dM8ikUtCs3nkE8MqHtvnHokpvj1AmzMcQR5_KB3-a6ohihkaSgo8AAAAAAAAAAAAAE7o6LBgMGpFKkmxsPTV5BjFI-VMZifLBnh1glTUv1bz1e29CbqaI9hQS1nsRAnqtf70EL-17w0Yia_WVCABIgEDtRv8wQ%3D%3D; n_mh=s9klE-4d3Ng_LOH8ezJGFFPjrr-99xsZ_jZn9DDqUB8; sid_guard=945a7c6b4c4e2fb0aa794eb595ac75a4%7C1745308106%7C5184000%7CSat%2C+21-Jun-2025+07%3A48%3A26+GMT; uid_tt=fd28d9b5f6d657b141bf491de325ab52; uid_tt_ss=fd28d9b5f6d657b141bf491de325ab52; sid_tt=945a7c6b4c4e2fb0aa794eb595ac75a4; sessionid=945a7c6b4c4e2fb0aa794eb595ac75a4; sessionid_ss=945a7c6b4c4e2fb0aa794eb595ac75a4; is_staff_user=false; sid_ucp_v1=1.0.0-KDRkODhhZTI5MWFjOGQ1NGU5Zjk4MmQxODNkZDc3OTE2MzY3YzVlNTgKHwjlxOGQ3wEQypOdwAYY2hYgDDC1_bnIBTgHQPQHSAQaAmxmIiA5NDVhN2M2YjRjNGUyZmIwYWE3OTRlYjU5NWFjNzVhNA; ssid_ucp_v1=1.0.0-KDRkODhhZTI5MWFjOGQ1NGU5Zjk4MmQxODNkZDc3OTE2MzY3YzVlNTgKHwjlxOGQ3wEQypOdwAYY2hYgDDC1_bnIBTgHQPQHSAQaAmxmIiA5NDVhN2M2YjRjNGUyZmIwYWE3OTRlYjU5NWFjNzVhNA; x-web-secsdk-uid=dfffcb3d-8e7b-4fa7-9d8f-733450bf183b; _tea_utm_cache_2906=undefined; csrf_session_id=5c268a08d752bb985d015f20fdf814b1; _bd_ticket_crypt_doamin=2; _bd_ticket_crypt_cookie=899df9adac6e69bb1f00cbcc05069369; __security_mc_1_s_sdk_sign_data_key_web_protect=3cb6cd3b-444f-9242; __security_mc_1_s_sdk_cert_key=b3cfba15-4c5b-a453; __security_server_data_status=1; ttwid=1%7CfLDD_y83V4SCevPbYy2tLoVO1mmt5G57IlSCPagjG2w%7C1745308378%7Cdad06b20c3c8922aafdffd05d3629e58957ba51c702a2e73a7afd7643fd62a65; bd_ticket_guard_client_data=eyJiZC10aWNrZXQtZ3VhcmQtdmVyc2lvbiI6MiwiYmQtdGlja2V0LWd1YXJkLWl0ZXJhdGlvbi12ZXJzaW9uIjoxLCJiZC10aWNrZXQtZ3VhcmQtcmVlLXB1YmxpYy1rZXkiOiJCTVRPOHZKR0IyQTN0U1RjaSt4dEdRY09HSkN1VGsrZldOSkJ6M2tHL09SRDZnRG1jdWRrVFQwY2xLNWl6VzRyaHo1VHh6UzFVbDUzMlAxeG14Qk80Z0k9IiwiYmQtdGlja2V0LWd1YXJkLXdlYi12ZXJzaW9uIjoyfQ%3D%3D; cc_request_t=0ec8b15c-f72c-4882-8ada-4abdd466b9dc; passport_fe_beating_status=false");
        //headers.put("cookie","passport_csrf_token=d81fad2770be199a723d100d97ca1b2b; passport_csrf_token_default=d81fad2770be199a723d100d97ca1b2b; s_v_web_id=verify_maxaaxb4_SaipS88U_X9PQ_4D51_9Bxa_oRFFZoqNIqRH; is_staff_user=false; gfkadpd=2631,22740; _tea_utm_cache_3813=undefined; tt_scid=BYO5HPMUTRymOfSIRAv5VAOos-sS9ykTnFkfAmByrHbz3PoIyvE7L-aKyiAcZEQPb3bc; ttwid=1%7CFiYchcJE1siffDWNetT3GQDumcb5UeHx9g7_mIKerQg%7C1749706182%7Cd298f7dbcd537b927936a8d7762ef4a983afd482230294c13fdd70384ce57648; uid_tt=faecb8cf6eb90dca4c6c038c36699355; uid_tt_ss=faecb8cf6eb90dca4c6c038c36699355; sid_tt=216ca4476dea1e32ae60648ffc37ac52; sessionid=216ca4476dea1e32ae60648ffc37ac52; sessionid_ss=216ca4476dea1e32ae60648ffc37ac52; odin_tt=5b9151fc9e7cf51a2806a6c95f6d28b80f84d76ed99965e47a7fbe79c3e4f449dc55c7abad36871615e15aef9c5c60ac35969011ee43efb7755df0b64c48634f; ucas_c0_buyin=CkAKBTEuMC4wEKKIiLjRuJmlaBi9LyCM46D6_I1cKI8RMOepkO-IjYgBQMnLqcIGSMn_5cQGUKO8wezjtbP-YFh-EhQ2aO488lQ4DaZlBCqLuRPvfiN5UQ; ucas_c0_ss_buyin=CkAKBTEuMC4wEKKIiLjRuJmlaBi9LyCM46D6_I1cKI8RMOepkO-IjYgBQMnLqcIGSMn_5cQGUKO8wezjtbP-YFh-EhQ2aO488lQ4DaZlBCqLuRPvfiN5UQ; SASID=SID2_7514928668516827433; BUYIN_SASID=SID2_7514928668516827433; buyin_shop_type=24; buyin_account_child_type=1128; buyin_app_id=1128; buyin_shop_type_v2=24; buyin_account_child_type_v2=1128; buyin_app_id_v2=1128; scmVer=1.0.1.8998; csrf_session_id=d9065a46db8cf27f12567f0a128e1603; sid_guard=216ca4476dea1e32ae60648ffc37ac52%7C1749708523%7C5184000%7CMon%2C+11-Aug-2025+06%3A08%3A43+GMT; sid_ucp_v1=1.0.0-KGYwMDdlNjAxNjYyN2FlMWJhNDk0Zjc2MmQ5NThlMjE1MDgxNzZlNzAKGAjnqZDviI2IARDr3anCBhiPESAMOAhAJhoCbHEiIDIxNmNhNDQ3NmRlYTFlMzJhZTYwNjQ4ZmZjMzdhYzUy; ssid_ucp_v1=1.0.0-KGYwMDdlNjAxNjYyN2FlMWJhNDk0Zjc2MmQ5NThlMjE1MDgxNzZlNzAKGAjnqZDviI2IARDr3anCBhiPESAMOAhAJhoCbHEiIDIxNmNhNDQ3NmRlYTFlMzJhZTYwNjQ4ZmZjMzdhYzUy; COMPASS_LUOPAN_DT=session_7514939399361118491");
        //headers.put("cookie","passport_csrf_token=df7bf74cf8f4fcce77eead04383ebc12; __security_mc_1_s_sdk_crypt_sdk=1f24cc50-406b-a405; bd_ticket_guard_client_web_domain=2; gfkadpd=2906,33638; biz_trace_id=05603d29; sdk_source_info=7e276470716a68645a606960273f276364697660272927676c715a6d6069756077273f276364697660272927666d776a68605a607d71606b766c6a6b5a7666776c7571273f275e58272927666a6b766a69605a696c6061273f27636469766027292762696a6764695a7364776c6467696076273f275e5827292771273f27323d373034363c35323c3132342778; bit_env=w3cs8TgVmWwMRL5lX9mBpaJI0Et_GI8QM0YfyqFONVFAtlDPa997fDNipyhyWWA1zfIV-C-HmgjO1q5Za-fom9kricHerFU0b3ISfdybwyOoMC8SuMv1vX2khucdqvYhaDjaa6TrPBUJF-Ig75_uhOMr63leHV6TtLPzSQjI-ZEz__eDztrESH0cigTsL3PnUb4pH4uTiFPp6ls4fee921exbNbKXXIqr5hXd-66ckzKU6QK6CQ42xKekln_zMPgtAYsh4KKdM6ZuVYkabXi-K2v4LmjEXdADdP4A2BR-t4nwSRKlYM-iSrsxU6fQse8AVm_nVDD2bkmvLWLD0ZOywphSQVSb4AsVxAm-UaBT0r5qHfbrzpgv6gRyi-zIu4CyoVsb_Ygb6RwtbbKD7gjE0o6puob6_a9tjYT416wysfkQIIHEBBsT4FqKJgRUqnVPc8FpH2hOErjPAZyRuxEYrZhceH6Gn7MSbneQC2qFd-uQdhRW61jDb-qUUEODpC7GmyIDwrgO0OsxztowPiGc_bt4r3NVuVvsBQ5_oKsXJHHD8jsgG9pvT-HlDKtg7Dp; gulu_source_res=eyJwX2luIjoiNmZlYWFjNWVlZGI1YTM4MmRhYmNmMjAwNzY1NDlhNDhhNzJiYWMzMDE2MmU1ZGY1YWY3M2Y4NGUxNDA0NjJhOSJ9; passport_auth_mix_state=3ujdmv39i8xln84buwomzeq9v80pzog6; passport_mfa_token=CjUIgq0v%2F2zZ21ZCcgyc51NQMqKlqJAglczxDJufKy%2FX9uU63bytu1VxA2Csp34bJoMIPbaHOBpKCjwAAAAAAAAAAAAATxvAY6moaey3Jd95QiMUJDgGcHNbXe%2BEzyYSmN2TMJiDk4UmXKAqNiN2g285DXByJasQhfHzDRj2sdFsIAIiAQPn7npC; d_ticket=048b816d69ecc340377f43c65d5df941b5df2; odin_tt=12dddde7b89de05bd09980abe4ef621b4f35bb6fe3e17267cdddbde515914cf8217e91e4e2fad9a862975bdf8bedee3f; passport_assist_user=Cjzfpd4_NtFqX1m2CSrSRp8CkuVgsAuy_ofiVctlgkVRWF9Y1V4JZnOOontIrOHuqX3ksgCWkN9b4jn8eiQaSgo8AAAAAAAAAAAAAE8bCblaR_3-pjcyPZuGw3hn4hc8o6yMqWE45fg2DiA_BNgCDMgIkpBC-8X-yj7nRRPnEJDx8w0Yia_WVCABIgEDuhGIew%3D%3D; n_mh=BRmitaVctoHodEWTp_tpK-qW9wwac1uwNNm6nRA27dA; sid_guard=ac37a90fc92a594e6cf303889969c5d3%7C1749709345%7C5184000%7CMon%2C+11-Aug-2025+06%3A22%3A25+GMT; uid_tt=988a334a3a6e7b104c43fc089d4c69b3; uid_tt_ss=988a334a3a6e7b104c43fc089d4c69b3; sid_tt=ac37a90fc92a594e6cf303889969c5d3; sessionid=ac37a90fc92a594e6cf303889969c5d3; sessionid_ss=ac37a90fc92a594e6cf303889969c5d3; is_staff_user=false; sid_ucp_v1=1.0.0-KGViOThhNmQwYzY4OTAwMTI1Zjg5YWQ4ZmU4ODNmZDI0YWE5MzhhODUKHwiZ1JWYogIQoeSpwgYY2hYgDDCskPbQBTgHQPQHSAQaAmxmIiBhYzM3YTkwZmM5MmE1OTRlNmNmMzAzODg5OTY5YzVkMw; ssid_ucp_v1=1.0.0-KGViOThhNmQwYzY4OTAwMTI1Zjg5YWQ4ZmU4ODNmZDI0YWE5MzhhODUKHwiZ1JWYogIQoeSpwgYY2hYgDDCskPbQBTgHQPQHSAQaAmxmIiBhYzM3YTkwZmM5MmE1OTRlNmNmMzAzODg5OTY5YzVkMw; x-web-secsdk-uid=41d08541-e8fb-4950-8abf-23f4de229bcb; csrf_session_id=d9065a46db8cf27f12567f0a128e1603; _tea_utm_cache_2906=undefined; ttwid=1%7CDGc9pXLXRlGmbbuDeFuplX5mdCbQvVVN5Gsg0WvAaXo%7C1749709347%7Cca5f56cfbf28edd3e56d1f4f605bf65634adc1b97f9946ca7b6527cf8f6b584a; _bd_ticket_crypt_doamin=2; _bd_ticket_crypt_cookie=740757bc97c0d00781fe5a4bb7bc9236; __security_mc_1_s_sdk_sign_data_key_web_protect=a3d98c83-4352-a425; __security_mc_1_s_sdk_cert_key=1639f10c-4aee-8ec2; __security_server_data_status=1; bd_ticket_guard_client_data=eyJiZC10aWNrZXQtZ3VhcmQtdmVyc2lvbiI6MiwiYmQtdGlja2V0LWd1YXJkLWl0ZXJhdGlvbi12ZXJzaW9uIjoxLCJiZC10aWNrZXQtZ3VhcmQtcmVlLXB1YmxpYy1rZXkiOiJCRkZZQzVnNTZSYlhEeWRETzhLZEd6azVjeVZxTmtIUHZEajVMaU9WbzIrWjROTitLZ3dYWVk3RU1HTW9mditYYXRTLzRUUEQ1a0RUbml2cXFLNG9pU1U9IiwiYmQtdGlja2V0LWd1YXJkLXdlYi12ZXJzaW9uIjoyfQ%3D%3D; passport_fe_beating_status=true");
        headers.put("cookie","UIFID_TEMP=164c22db5016193fd69c8bfb0b166ea3a563c2c88054b8eae8759946ea9753ce8fa4ae67e45af3d63c301bc73a3a0138be68151838a3efcd18c2f76c9d900bcb11b95e2be543166f9632c8be3b8a9b22560c6ed92ee026bb8e43bf1b0995378498094b7b179bfe0a12d5d3bb9b02efce; bd_ticket_guard_client_web_domain=2; UIFID=164c22db5016193fd69c8bfb0b166ea3a563c2c88054b8eae8759946ea9753ce8fa4ae67e45af3d63c301bc73a3a0138be68151838a3efcd18c2f76c9d900bcbcd8b847b5dabfe9bae09726ca99250a6ebfb1e3bc628a2b5523891cc49fa52bc19dc80a68377f5da69a3a92f4a6ff6a3286bc20d9be41f477a70a013c9394eefe23490602d2316cda51fa9a58a49670ba85cdde2e428561e7af7568896734787887b0956a182114a6f9699419450a17eaec2c05e69a729f7068d64c0b87e2f22; _bd_ticket_crypt_doamin=2; __security_server_data_status=1; xgplayer_device_id=64394844836; xgplayer_user_id=804798459309; my_rd=2; oc_login_type=LOGIN_PERSON; s_v_web_id=verify_m9z2wri1_UwMLrAAq_zssv_4SXu_BOlo_h5l4F0ZmNc79; SearchMultiColumnLandingAbVer=2; SEARCH_RESULT_LIST_TYPE=%22multi%22; login_time=1745903575536; __security_mc_1_s_sdk_sign_data_key_sso=5034720b-4cd7-99cc; passport_mfa_token=CjfMEezbDvdG0z5dAngDNVSjZ5pwwuoo66q9rpfKoliBLssxX%2FUUbP57lOI2C4uwBsf%2BcYFDOPFRGkoKPAAAAAAAAAAAAABO92agUTnKXCwCFwJ%2BddBM7i2Q61SBLp675HpXczgtF2lzjKtZSK4jweKfZCCVC6BcXxCW3vANGPax0WwgAiIBA7Szla4%3D; d_ticket=9bf0d57c56d0619873a27c18abb7d51dea7ee; passport_assist_user=Cjw5-xXahMi-u74D4sLacrMsYfTWl8UJlIIkQelWzP0TondUsu7tk05ETlADVNAZbFqDAybaIu04thaWqg0aSgo8AAAAAAAAAAAAAE7_xmF8RScvTCMlge26_KThDOURl8UOPiZYeccerQs31mDjZqJpPqCfvnpFJdYKnJ6nEKm-8Q0Yia_WVCABIgEDjZoGxw%3D%3D; n_mh=cEp5_5_RpI2Lpvm_WhczBt8lDxzabaxVp1ieE-y42YM; uid_tt=5f6628d7b6f83c8a60a974b72ffdf9a1; uid_tt_ss=5f6628d7b6f83c8a60a974b72ffdf9a1; sid_tt=032610c4fa02a22ede308433ceb67f40; sessionid=032610c4fa02a22ede308433ceb67f40; sessionid_ss=032610c4fa02a22ede308433ceb67f40; is_staff_user=false; _bd_ticket_crypt_cookie=2369648f2aa4cf306ea7d37db8d0ff9e; __security_mc_1_s_sdk_sign_data_key_web_protect=9be0c5aa-4ba2-92bc; volume_info=%7B%22isUserMute%22%3Atrue%2C%22isMute%22%3Atrue%2C%22volume%22%3A0%7D; passport_csrf_token=7ccfaed85eb24114eabcf28e7a448918; __security_mc_1_s_sdk_crypt_sdk=3e8ec78a-43e0-ae77; __security_mc_1_s_sdk_cert_key=4cc44639-40b6-8cf9; publish_badge_show_info=%220%2C0%2C0%2C1749189718883%22; _tea_utm_cache_2906=undefined; sid_guard=032610c4fa02a22ede308433ceb67f40%7C1749432589%7C5184000%7CFri%2C+08-Aug-2025+01%3A29%3A49+GMT; sid_ucp_v1=1.0.0-KGJkODAyZGMxYjVjYTRkNzMwY2E4YzI2NjFlYmNhY2JjYTZlMzY2ZTAKHwjOufuN3gEQjfKYwgYY2hYgDDDJ4pbIBTgHQPQHSAQaAmhsIiAwMzI2MTBjNGZhMDJhMjJlZGUzMDg0MzNjZWI2N2Y0MA; ssid_ucp_v1=1.0.0-KGJkODAyZGMxYjVjYTRkNzMwY2E4YzI2NjFlYmNhY2JjYTZlMzY2ZTAKHwjOufuN3gEQjfKYwgYY2hYgDDDJ4pbIBTgHQPQHSAQaAmhsIiAwMzI2MTBjNGZhMDJhMjJlZGUzMDg0MzNjZWI2N2Y0MA; live_use_vvc=%22false%22; WallpaperGuide=%7B%22showTime%22%3A1749432622584%2C%22closeTime%22%3A0%2C%22showCount%22%3A1%2C%22cursor1%22%3A10%2C%22cursor2%22%3A2%2C%22hoverTime%22%3A1749432624200%7D; enter_pc_once=1; download_guide=%223%2F20250610%2F1%22; SelfTabRedDotControl=%5B%7B%22id%22%3A%227409330640069330982%22%2C%22u%22%3A124%2C%22c%22%3A124%7D%2C%7B%22id%22%3A%227017043531269146654%22%2C%22u%22%3A24%2C%22c%22%3A24%7D%2C%7B%22id%22%3A%227004339072290260999%22%2C%22u%22%3A23%2C%22c%22%3A23%7D%2C%7B%22id%22%3A%226794687824986638344%22%2C%22u%22%3A14%2C%22c%22%3A14%7D%5D; __druidClientInfo=JTdCJTIyY2xpZW50V2lkdGglMjIlM0EyOTglMkMlMjJjbGllbnRIZWlnaHQlMjIlM0E0NzQlMkMlMjJ3aWR0aCUyMiUzQTI5OCUyQyUyMmhlaWdodCUyMiUzQTQ3NCUyQyUyMmRldmljZVBpeGVsUmF0aW8lMjIlM0ExLjIwMDAwMDA0NzY4MzcxNTglMkMlMjJ1c2VyQWdlbnQlMjIlM0ElMjJNb3ppbGxhJTJGNS4wJTIwKFdpbmRvd3MlMjBOVCUyMDEwLjAlM0IlMjBXaW42NCUzQiUyMHg2NCklMjBBcHBsZVdlYktpdCUyRjUzNy4zNiUyMChLSFRNTCUyQyUyMGxpa2UlMjBHZWNrbyklMjBDaHJvbWUlMkYxMzcuMC4wLjAlMjBTYWZhcmklMkY1MzcuMzYlMjBFZGclMkYxMzcuMC4wLjAlMjIlN0Q=; stream_recommend_feed_params=%22%7B%5C%22cookie_enabled%5C%22%3Atrue%2C%5C%22screen_width%5C%22%3A1280%2C%5C%22screen_height%5C%22%3A720%2C%5C%22browser_online%5C%22%3Atrue%2C%5C%22cpu_core_num%5C%22%3A12%2C%5C%22device_memory%5C%22%3A8%2C%5C%22downlink%5C%22%3A10%2C%5C%22effective_type%5C%22%3A%5C%224g%5C%22%2C%5C%22round_trip_time%5C%22%3A50%7D%22; strategyABtestKey=%221749609597.811%22; FOLLOW_LIVE_POINT_INFO=%22MS4wLjABAAAAMLZ7eXzBtliEwMsbfrkHFLxNTTvsoyI5qntkkC3DT5U%2F1749657600000%2F0%2F0%2F1749611135321%22; FOLLOW_NUMBER_YELLOW_POINT_INFO=%22MS4wLjABAAAAMLZ7eXzBtliEwMsbfrkHFLxNTTvsoyI5qntkkC3DT5U%2F1749657600000%2F0%2F1749610535322%2F0%22; home_can_add_dy_2_desktop=%221%22; IsDouyinActive=false; stream_player_status_params=%22%7B%5C%22is_auto_play%5C%22%3A0%2C%5C%22is_full_screen%5C%22%3A0%2C%5C%22is_full_webscreen%5C%22%3A0%2C%5C%22is_mute%5C%22%3A1%2C%5C%22is_speed%5C%22%3A1%2C%5C%22is_visible%5C%22%3A0%7D%22; gfkadpd=2906,33638; x-web-secsdk-uid=1f969967-3d30-4cc1-904e-11ce1650d004; csrf_session_id=d9065a46db8cf27f12567f0a128e1603; odin_tt=39acf668651037a899f49f22ed2cdab71292d0aed4333a9975880a53376e9f3f79f81c1f3550f0282763b2207e0315b0; passport_fe_beating_status=false; ttwid=1%7CdL7eP4dsPWFg_PMWsgD_j");
        return headers;
    }

    static class Fans {
        private Date date_time;
        private Integer play_cnt;   //播放量
        private Integer homepage_view_cnt; //主页访问
        private Integer net_fans_cnt;   //净增粉丝

        private Integer cancel_fans_cnt;   //取关粉丝
        private Integer total_fans_cnt;   //总粉丝量

    }
}
